
<html>
	<head>
		<meta http-equiv="content-type" content="text/html;charset=utf8" />
		<title>搜索</title>
		<link rel="stylesheet" type="text/css" href="static/css/common.css" />
	</head>
	<body>
		<form action="index.php" method="GET">
		<table width="100%" height="54" cellspacing="0" cellpadding="0" align="center">
			<tbody>
				<tr valign="middle">
					<td width="100%" valign="top" nowrap="" style="padding-left: 8px; width: 137px;">
						Logo here
					</td>
					<td>   </td>
					<td width="100%" valign="top">
						<div class="Tit">
						</div>
						<table cellspacing="0" cellpadding="0">
							<tbody>
								<tr>
									<td valign="top" nowrap="">
										<tbody>
											<tr valign="middle">
												<td nowrap="">
													<input maxlength="100" value="{$keyword}" class="i" size="35" name="q"/>
													<input type="submit" value="搜索"/>
												</td>
												<td nowrap="">
												</td>
											</tr>
										</tbody>
									</td>
									<td valign="middle" nowrap="">
									</td>
								</tr>
							</tbody>
						</table>
					</td>
					<td/>
				</tr>
			</tbody>
		</table>
		</form>

		<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center" class="bi">
			<tbody>
				<tr>
					<td nowrap="">   
						搜索{$keyword}
					</td>
					<td nowrap="" align="right">找到相关记录约{$searchresult.total}篇，用时{$searchresult.time}秒    </td>
				</tr>
			</tbody>
		</table>
		
		{foreach from=$rows item="entry"}
		<table cellspacing="0" cellpadding="0" id="1">
			<tbody>
				<tr>
					<td class="f">
						<a target="_blank" href="{$entry.url}">
							<font size="3">
								{$entry.title}
							</font>
						</a>
						<br/>
						<font size="-1">
							{$entry.content}
							<font color="#666666"> by {$entry.author} </font>
							<br/>
							<font color="#008000">{$entry.url} {$entry.publishdate}</font>
						</font>
					</td>
				</tr>
			</tbody>
		</table>
		<br />
		{foreachelse}
			no match found
        {/foreach}

		<br clear="all"/>
		<div class="p">
			{$pagebar}
		</div>
	</body>
</html>